/*
 * mailAddress.h
 *
 *  Created on: Jun 29, 2011
 *      Author: peckb1
 */

#ifndef MAILADDRESS_H_
#define MAILADDRESS_H_

class MailAddress {
    private:
        int _machineId;
        int _mailboxNumber;
        int _machineOwnerMachineId;
        int _machineOwnerMailBox;

    public:
        MailAddress(int machineId, int mailboxNumber, int machineOwnerMachineId, int machineOwnerMailBox) {
            _machineId = machineId;
            _mailboxNumber = mailboxNumber;
            _machineOwnerMachineId = machineOwnerMachineId;
            _machineOwnerMailBox = machineOwnerMailBox;
        }

        int MailAddress::MachineId() {
            return _machineId;
        }

        int MailAddress::MailboxNumber() {
            return _mailboxNumber;
        }

        int MailAddress::OwnersMachineId() {
            return _machineOwnerMachineId;
        }

        int MailAddress::OwnersMailBox() {
            return _machineOwnerMailBox;
        }
};

#endif /* MAILADDRESS_H_ */
